<template>
    <div>
        <router-view></router-view>
        <van-tabbar route class="tabbar">
          <van-tabbar-item replace to="/taber/home" icon="home-o">首页</van-tabbar-item>
          <van-tabbar-item replace to="/taber/map" icon="search">地图区</van-tabbar-item>
          <van-tabbar-item replace to="/taber/release" icon="shopping-cart-o">发布</van-tabbar-item>
          <van-tabbar-item replace to="/taber/message" icon="contact-o">消息</van-tabbar-item>
          <van-tabbar-item replace to="/taber/mine" icon="contact-o">我的</van-tabbar-item>
        </van-tabbar>
    </div>
</template>

<script setup>

</script>

<style lang="scss" scoped>

.tabbar{
    width: 100%;
    display: flex;
    justify-content: space-around;
    position: absolute;
    bottom: 0;
    left: 0;
    background-color: white;
    line-height: 60px;
    position: fixed;
    bottom: -1px;
  }
</style>